<%@ page language="java"
         contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<%@ page isELIgnored="false" %>
<!-- isELIgnored=true禁用EL表达式 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!-- JSTL格式化标签 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>管理员登陆页面</title>
    <script src="${pageContext.request.contextPath}/js/jquery.min-2.1.1.js"></script>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/layui-v2.6.13/layui/css/layui.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/layui-v2.6.13/layui/layui.js"></script>
    <style>
        #dd{
            margin-left: 200px ;
            margin-top: 100px;
        }
        #bb{
            margin-top: 50px;
            margin-left: 130px ;
        }
    </style>
</head>
<body>
    <div id="dd">
        <h1 id="hh">当前余额:<font color="red">￥${user.uMoney}元</font> </h1>
        <button id="bb" type="button" class="layui-btn layui-btn-radius layui-btn-warm" onclick="recharge()">充值</button>
    </div>
</body>
<script>
    function recharge(uMoney) {
        layer.open({
            type: 2,
            title: "充值余额",
            area: ['400px', '350px'],
            // content: "http://localhost:8080/SSM/goods/changeGoods?goodsId="+goodsId+"&mChose="+mChose+"&speId2="+speId2
            content: "${pageContext.request.contextPath}/user/userMoneyIn",
        });
    }
</script>
</html>
